package com.cl.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import com.cl.NotFoundExcepiton;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author:Long
 * @Date:Created in 20:00 2018/7/1
 * @Description:
 */
@Controller
public class IndexController {

    @GetMapping("/")
    public String index() {
//        System.out.println("------------index------------");
        return "index";
    }

    @GetMapping("/blog")
    public String blog() {
//        System.out.println("------------index------------");
        return "blog";
    }
}
